Avoid picking up wrong inline assembly.
Gbp-Pq: Name support_x32
(defined(__i386) || defined(__sparc) || defined(__x86_64) || \
defined(__aarch64__)) && \
(!defined(__GLIBCXX__) || !defined(NCBI_TCHECK))
-# if defined(__x86_64) || defined(__aarch64__)
+# if (defined(__x86_64) && !defined(_ILP32)) || defined(__aarch64__)
# define NCBI_COUNTER_64_BIT
# endif
# ifdef NCBI_COUNTER_64_BIT
darwin*:*86*:64 ) vdb_libpath=mac/$vdb_mode/x86_64/lib ;;
darwin*:*86*:* ) vdb_libpath=mac/$vdb_mode/fat86/lib ;;
darwin*:arm* ) vdb_libpath=mac/$vdb_mode/arm64/lib ;;
- linux*:*86*:64 ) vdb_libpath=linux/$vdb_mode/x86_64/lib ;;
+ linux*:*86*64* ) vdb_libpath=linux/$vdb_mode/x86_64/lib ;;
linux*:aarch64* ) vdb_libpath=linux/$vdb_mode/arm64/lib ;;
* )
if test -n "$with_vdb"; then
darwin*:*86*:64 ) vdb_libpath=mac/$vdb_mode/x86_64/lib ;;
darwin*:*86*:* ) vdb_libpath=mac/$vdb_mode/fat86/lib ;;
darwin*:arm* ) vdb_libpath=mac/$vdb_mode/arm64/lib ;;
- linux*:*86*:64 ) vdb_libpath=linux/$vdb_mode/x86_64/lib ;;
+ linux*:*86*64* ) vdb_libpath=linux/$vdb_mode/x86_64/lib ;;
linux*:aarch64* ) vdb_libpath=linux/$vdb_mode/arm64/lib ;;
* )
if test -n "$with_vdb"; then
// select range of feature table rows
auto range = GetLocFeatRowIdRange();
auto feat_start = range.first + kFeatPerChunk*index;
- auto feat_stop = min(range.first+range.second, feat_start+kFeatPerChunk);
+ auto feat_stop = min<TVDBRowId>(range.first+range.second,
+ feat_start+kFeatPerChunk);
range.first = feat_start;
- range.second = max(feat_start, feat_stop)-feat_start;
+ range.second = max<TVDBRowId>(feat_start, feat_stop)-feat_start;
// create features
info.chunk->SetData();
CSeq_annot::TData::TFtable* main_features = 0;